package Dream;

public class dowm {
    public static void main(String[] args) {
        Animal animal = new Dog("小黄",5);
        animal.eat();
        Dog dog = (Dog) animal;
        dog.game();
        Animal animal1 = new Dog("大黄",5);
        Cat cat = (Cat) animal1;

    }
}
